/*项目信息管理-详情-项目基本信息*/
import 'package:flutter/cupertino.dart';
import 'package:frametrim/appviews/textUpPhoneView.dart';
import 'package:frametrim/appviews/textUpTextView.dart';
import 'package:frametrim/appviews/textUpTextViewJump.dart';

import '../../appviews/lineToTextView.dart';
import '../../appviews/pojectMessMarkView.dart';
import '../../appviews/textUpTextMarkView.dart';
import '../../appviews/textUpTextMarkWidgetView.dart';
import '../../model/DistrictCommonM.dart';
import '../../model/ProjectMessManagerBasicM.dart';
import '../../utility/Tools.dart';
import '../../utility/sq_color.dart';

class CompanyMessDetailsPage02 extends StatefulWidget {
  @override
  State<StatefulWidget> createState() => CompanyMessDetailsPage02State();
}

class CompanyMessDetailsPage02State extends State<CompanyMessDetailsPage02> {
  late ScrollPhysics physics = NeverScrollableScrollPhysics();

  @override
  Widget build(BuildContext context) {
    return Container(
      child: ListView.builder(
          itemBuilder: (context, index) {
            return buildItem(index);
          },
          padding: EdgeInsets.only(top: 0),
          itemCount: 2),
    );
  }

  /*item*/
  Widget buildItem(int index) {
    return Column(
      crossAxisAlignment: CrossAxisAlignment.start,
      children: [
        LineToTextView(
            text1: "项目${index + 1}",
            textSize: 14,
            isBind: false,
            paddingTop: 3,
            textColor: SQColor.color_3D3D3D),
        TextUpTextMarkWidgetView(
            '项目名称',
            '飞鸿家电配件生产建设项目',
            ProjectMessMarkView(
                mVerticalPadding: 1,
                borderColor: SQColor.color_067945,
                fullrColor: SQColor.color_E8F8F2,
                content: '新批')),
        TextUpTextView('项目区域', '郑州市'),
        TextUpTextView('建设单位', '河南汇创实业有限公司'),
        TextUpTextView('施工单位', '河南省第一建筑工程集团有限责任公司'),
        TextUpTextView('监理单位', '中新华都国际工程咨询有限公司'),
        TextUpTextView('资金来源', '政府投资'),
        TextUpTextView('项目类别', '房屋建筑施工工程'),
      ],
    );
  }
}
